Sensor Fusion for Kinetis MCUs (ISSDK/KSDK version)
driver_MMA845X.c File Reference
+ Include dependency graph for driver_MMA845X.c:

Go to the source code of this file.

Macros

#define MMA845x_COUNTSPERG   8192.0
 
#define MMA8451_ACCEL_FIFO_SIZE   32
 

Detailed Description

Supports MMA8451Q, MMA8452Q and MMA8453Q. Key differences which are applicable to this driver are shown in the table below.

Feature MMA8451Q MMA8452Q MMA8453Q
# Bits 14 12 10
FIFO 32-deep NONE NONE

All three have the MSB of the result registers located in the same location, so if we read as one 16-bit value, the only thing that should change g/count will be which range (+/- 2/4/8g) we are on.

Definition in file driver_MMA845X.c.

Macro Definition Documentation

#define MMA8451_ACCEL_FIFO_SIZE   32

Definition at line 53 of file driver_MMA845X.c.

#define MMA845x_COUNTSPERG   8192.0

Definition at line 52 of file driver_MMA845X.c.